package com.naiterui.ehp.bs.payment.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

/**
 * <pre>
 * 涉及支付的业务场景生成流水号
 * </pre>
 *
 * @date 2017年09月09日
 * @since 1.0.0
 */
@SuppressWarnings({"unused"})
@Data
@Entity
@Table(name = "order_sequence")
public class OrderSequence implements java.io.Serializable {

    /**
     * The constant serialVersionUID.
     */
    private static final long serialVersionUID = 8257569768130539909L;

    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
    private Long id;

}
